package com.sjzd.server.constant;

/**
 *  邮件相关常量
 */
public class MailConstants {
    /**
     *  发送中
     */
    public static final Integer DELIVERING = 0;
    /**
     *  发送成功
     */
    public static final Integer SUCCESS_SEND = 1;
    /**
     * 发送失败
     */
    public static final Integer ERROR_SEND = 2;
    /**
     *  交换机
     */
    public static final String EXCHANGE_NAME = "mail_exchange";
    /**
     *  路由键
     */
    public static final String ROUTER_KEY = "mail_welcome";
    /**
     * 消息队列名
     */
    public static final String QUEUE_NAME = "mail_welcome";
    /**
     * 最大尝试次数
     */
    public static final Integer MAX_RETRY_COUNT = 3;
    /**
     * 消息超时时间
     */
    public static final long MSG_TIMEOUT = 1;
}
